package com.amazon.bo;

import com.amazon.bo.base.BaseBo;
import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;

import javax.persistence.Column;
import javax.persistence.Entity;
import java.io.Serializable;

/**
 * Created by anhui on 2018/3/18.
 */
@Entity
@DynamicUpdate
@DynamicInsert
public class BrowseTree extends BaseBo implements Serializable {

    @Column(columnDefinition = ("varchar(40) default null comment '跟分类'"))
    private String nodeRoot;

    @Column(columnDefinition = ("varchar(40) default null comment '英国分类'"))
    private String enId;

    @Column(columnDefinition = ("varchar(40) default null comment '德国分类'"))
    private String deId;

    @Column(columnDefinition = ("varchar(40) default null comment '法国分类'"))
    private String frId;

    @Column(columnDefinition = ("varchar(40) default null comment '意大利分类'"))
    private String itId;

    @Column(columnDefinition = ("varchar(40) default null comment '意大利分类'"))
    private String esId;

    @Column(columnDefinition = ("varchar(1000) default null comment '路径'"))
    private String path;

    @Column(columnDefinition = ("varchar(1000) default null comment '路径中文'"))
    private String chPath;

    public String getNodeRoot() {
        return nodeRoot;
    }

    public void setNodeRoot(String nodeRoot) {
        this.nodeRoot = nodeRoot;
    }

    public String getEnId() {
        return enId;
    }

    public void setEnId(String enId) {
        this.enId = enId;
    }

    public String getDeId() {
        return deId;
    }

    public void setDeId(String deId) {
        this.deId = deId;
    }

    public String getFrId() {
        return frId;
    }

    public void setFrId(String frId) {
        this.frId = frId;
    }

    public String getItId() {
        return itId;
    }

    public void setItId(String itId) {
        this.itId = itId;
    }

    public String getEsId() {
        return esId;
    }

    public void setEsId(String esId) {
        this.esId = esId;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public String getChPath() {
        return chPath;
    }

    public void setChPath(String chPath) {
        this.chPath = chPath;
    }

    public long getProductClassId() {
        return productClassId;
    }

    public void setProductClassId(long productClassId) {
        this.productClassId = productClassId;
    }

    @Column(columnDefinition = ("bigint default 0 comment 'productClassId中文分类id'"))
    private long productClassId;
    //关键词
    private String KeyWords;

    public String getKeyWords() {
        return KeyWords;
    }

    public void setKeyWords(String keyWords) {
        KeyWords = keyWords;
    }
}
